import {createRouter, createWebHashHistory } from 'vue-router'
import showPlan from "../component/showPlan.vue"
import history from "../component/history.vue"

const router = createRouter({
    history: createWebHashHistory() ,
    routes:[
        {
            path: '/', redirect: '/show'
        },
         {
            path:'/show', component: showPlan
        },
        {
            path:'/history', component: history
        }
    ]
})

export default router